
public class Fakclass
{
	public static int faktorial(int N)
	{
		if(N<=1)
			return 1;
		else
			return N*faktorial(N-1);
	}
	public static void main(String[] args)
	{
		long start = System.nanoTime();
		System.out.println(faktorial(4));
		long end = System.nanoTime();
		long traceTime = end-start;
		System.out.println(traceTime);


	}

}
